﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Money.Data;

namespace Money.Interfaces
{
    public interface IMemorizedTransactionService
    {
        void CreateMemorizedTransaction(MemorizedTransaction item);
        void DeleteMemorizedTransaction(int id);
        void UpdateMemorizedTransaction(MemorizedTransaction item);
        MemorizedTransaction GetMemorizedTransactionById(int id);
        List<MemorizedTransaction> GetMemorizedTransactions(int userId, string orderBy, string orderDirection, int page, int pageSize, out int totalRecords);
        List<Money.Data.MemorizedTransaction> GetMemorizedTransactions(int accountId, int transactionType, string payer, string orderBy, string orderDirection, int page, int pageSize, out int totalRecords);
    }
}
